public class Customer {
	private long custId;
	private String name;
	private long rank;
	private long password;
	private String phone;
	private String email;
	private String address;
	private String comments;
	private static int count = 1;

	public Customer() {
		// default empty constructor

	}

	public Customer(String name, long password, String phone, String email,
			String address, String comments) {

		setName(name);
		setPassword(password);
		setPhone(phone);
		setEmail(email);
		setAddress(address);
		setComments(comments);
	}

	public long getCustId() {
		return custId;
	}

	public void setCustId(long currCustId) {
		custId = currCustId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getRank() {
		return rank;
	}

	public void setRank(long rank) {
		this.rank = rank;
	}

	public long getPassword() {
		return password;
	}

	public void setPassword(long password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	@Override
	public String toString() {
		return "Customer (" + count++ + ") : Information. \n Address : "
				+ address + "\n Comments : " + comments + "\n Cust_ID :"
				+ custId + "\n Email : " + email + "\n Name : " + name
				+ "\n Password :" + password + "\n Phone :" + phone
				+ "\n Rank :" + rank
				+ "\n\n************************************************\n";
	}

	public void PrintCustomer() {
		// Print Cusstomer Information on the screen
		System.out.println("Print Customer Information :");
		System.out.println("Cust_ID : " + this.getCustId());
		System.out.println("Name : " + this.getName());
		System.out.println("Rank : " + this.getRank());
		System.out.println("Password : " + this.getPassword());
		System.out.println("Phone : " + this.getPhone());
		System.out.println("Email : " + this.getEmail());
		System.out.println("Address : " + this.getAddress());
		System.out.println("Comments : " + this.getComments());
	}

}
